<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=100%; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
		<style type="text/css">
			*{margin:0;padding:0;}
			html,body{position:relative;width:100%;height:100%;}
			#loading{position:absolute;top:0;right:0;left:0;bottom:0;z-index:10;font-family:"Microsoft Yahei";display:none;}
			#loading .bg_wrap{position:absolute;top:0;right:0;left:0;bottom:0;background-color:#000000;opacity:0.3;}
			#loading .weixin{background-color:#FFF;position:fixed;top:5px;right:5px;left:5px;border-radius:5px;padding:10px 5px;}
			#loading .weixin .text{float:left;width:73%;text-align:center;}
			#loading .weixin .img{float:right;width:27%;}
			#loading .weixin .img img{display:inline;width:50px;margin-top:10px;width:80px;}
			#loading .weixin h3{font-weight:normal;font-size:14px;line-height:26px;}
			#loading .weixin h3.tip{font-size:16px;}
			.blue{color:#00A0E8;}
			.clear:after{ visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}
			.clear{zoom:1;}
		</style>
	</head>
	<body>
		<div id="loading">
			<div class="bg_wrap">	</div>
			<div class="weixin clear">
				<div class="img">
					<img src="download/weixin.png"/>
				</div>
				<div class="text">
					<h3 class="tip blue">下载小提示!</h3>
					<h3>下载app,请点击右上角按钮,</h3>
					<h3>在"<span class="blue">浏览器中打开</span>"才能正常下载哦!</h3>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			var uawei = navigator.userAgent.toLowerCase(),
				ua = 0;
			if(uawei.indexOf("micromessenger") >= 0){
				var oLoad = document.getElementById("loading");
				oLoad.style.display = "block";
		 	}else{
				download();
			}
			
			function download(){
				if (/android/i.test(navigator.userAgent)){
				    location.href="http://120.52.21.138:9016/services/download/app-release.apk";
				}else if (/ipad|iphone|ipod/i.test(navigator.userAgent)){
					 location.href="itms-services:///?action=download-manifest&url=https://git.oschina.net/fsz521job/ios-download/raw/master/huafeigou.plist";
				}else{ //pc
					 
				}
               
			}
           
		</script>
	</body>
</html>